﻿namespace ThresholdAssistant.QRCode.ExceptionHandler
{
    using System;

    /// <summary>
    /// 
    /// </summary>
    [Serializable]
    public class InvalidDataBlockException : ArgumentException
    {
        /// <summary>
        /// 
        /// </summary>
        internal string message = null;

        /// <summary>
        /// 
        /// </summary>
        /// <param name="message"></param>
        public InvalidDataBlockException(string message)
        {
            this.message = message;
        }

        /// <summary>
        /// 
        /// </summary>
        public override string Message => this.message;
    }
}